package com.symaster.common.thread;

/**
 * @author yinmiao
 * @version 2023-04-13 11:38
 */
public class WatchThreadNameAllocator {
    private static int count = 0;

    public static synchronized String getName() {
        count++;
        return String.format("watch-thread-%s", count);
    }
}
